package org.jeecg.modules.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: dept
 * @Author: jeecg-boot
 * @Date: 2023-10-19
 * @Version: V1.0
 */
@Data
@TableName("dept")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "dept对象", description = "dept")
public class Dept implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 上级部门
     */
    @Excel(name = "上级部门", width = 15)
    @ApiModelProperty(value = "上级部门")
    private Integer pid;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer enabled;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * updateTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    /**
     * isDel
     */
    @Excel(name = "isDel", width = 15)
    @TableLogic
    @ApiModelProperty(value = "isDel")
    private Integer isDel;
    /**
     * 门店id
     */
    @Excel(name = "门店id", width = 15)
    @ApiModelProperty(value = "门店id")
    private String poiId;
    /**
     * 门店地址
     */
    @Excel(name = "门店地址", width = 15)
    @ApiModelProperty(value = "门店地址")
    private String address;
    /**
     * 门店坐标纬度
     */
    @Excel(name = "门店坐标纬度", width = 15)
    @ApiModelProperty(value = "门店坐标纬度")
    private String latitude;
    /**
     * 门店坐标经度
     */
    @Excel(name = "门店坐标经度", width = 15)
    @ApiModelProperty(value = "门店坐标经度")
    private String longitude;
    /**
     * 商户管理员
     */
    @Excel(name = "商户管理员", width = 15)
    @ApiModelProperty(value = "商户管理员")
    private String userIds;

    /**
     * 商户类型
     */
    @Excel(name = "商户类型", width = 15)
    @ApiModelProperty(value = "商户类型")
    private Integer merchantType;
    /**
     * 门店联系方式
     */
    @Excel(name = "代理商管理门店", width = 15)
    @ApiModelProperty(value = "代理商管理门店")
    private String agentMerchant;



    /**
     * 门店联系方式
     */
    @Excel(name = "门店联系方式", width = 15)
    @ApiModelProperty(value = "门店联系方式")
    private String deptPhone;

    /**
     * 门店联系方式
     */
    @Excel(name = "商户系统用户标识，商户系统中唯一编号", width = 15)
    @ApiModelProperty(value = "商户系统用户标识，商户系统中唯一编号")
    private String bizUserId;


    /**
     * 门店绑定手机号（通商云）
     */
    @Excel(name = "门店绑定手机号（通商云）", width = 15)
    @ApiModelProperty(value = "门店绑定手机号（通商云）")
    private String bindPhoneNumber;

    /**
     * 门店余额
     */
    @Excel(name = "门店余额", width = 15)
    @ApiModelProperty(value = "门店余额")
    private BigDecimal merchantBalance;

    /**
     * 支付宝授权token
     */
    @Excel(name = "支付宝授权token", width = 15)
    @ApiModelProperty(value = "支付宝授权token")
    private String zfbToken;
    /**
     * 支付宝授权商家
     */
    @Excel(name = "支付宝授权商家", width = 15)
    @ApiModelProperty(value = "支付宝授权商家")
    private String zfbMerId;
    /**
     * 特约子商户
     */
    @TableField(exist = false)
    private String specialSubMerchants;





}
